package com.hyb.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hyb.entity.Permission;
import com.hyb.mapper.PermissionMapper;
import com.hyb.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;


/**
 * <p>
 *  权限Service接口实现类
 * </p>
 *
 * @author hyb
 * @since 2021-12-29
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {

    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public Set<String> getPermissionServiceByStaffEmail(String staffEmail) {
        return permissionMapper.getPermissionServiceByStaffEmail(staffEmail);
    }


}
